:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #495057;
    --muted-color: #6c757d;
}

body {
    background-color: #f5f7ff;
    color: var(--text-color);
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    margin-bottom: 25px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.15);
}

.header-title {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.header-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.grid-container {
    max-width: 500px;
    margin: 0 auto 30px;
}

.grid-item {
    text-align: center;
    padding: 20px 10px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.grid-item:hover::before {
    opacity: 1;
}

.grid-icon {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.grid-item:hover .grid-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.grid-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.grid-desc {
    font-size: 12px;
    color: var(--muted-color);
    opacity: 0;
    height: 0;
    transition: all 0.3s ease;
}

.grid-item:hover .grid-desc {
    opacity: 1;
    height: auto;
    margin-top: 5px;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 30px 0 20px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 18px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    margin-right: 10px;
}

.article-list {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.article-item {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background-color: rgba(67, 97, 238, 0.03);
    transform: translateX(5px);
}

.article-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--muted-color);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
    font-size: 12px;
}

.badge-new {
    background-color: #ff4d4f;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: var(--muted-color);
    font-size: 13px;
}

@media (max-width: 576px) {
    .grid-icon {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 22px;
    }

    .article-item {
        padding: 15px;
    }
}